package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TicketPayPassword;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TicketPayPasswordMapper {
    int deleteByPrimaryKey(Long uid);

    int insert(TicketPayPassword record);

    TicketPayPassword selectByPrimaryKey(Long uid);

    List<TicketPayPassword> selectAll();

    int updateByPrimaryKey(TicketPayPassword record);

    TicketPayPassword selectByIdAndPass(@Param("userId") Long userId,@Param("passdata") String passdata);
}